package com.hex.ds.hdrs.period.task.dao;

import com.hex.bigdata.hbda.base.BaseDao;
import com.hex.ds.hdrs.period.task.po.PeriodTaskStreamHis;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class PeriodTaskStreamHisDao extends BaseDao {

    public void insert(Map map){
        this.insert("com.hex.ds.hdrs.period.task.dao.PeriodTaskStreamHisDao.insert",map);
    }

    public List<PeriodTaskStreamHis> selectListByBitchId(Map map){
        return this.selectList(PeriodTaskStreamHis.class,"com.hex.ds.hdrs.period.task.dao.PeriodTaskStreamHisDao.selectListByBitchId",map);
    }

    public void deleteByBitchId(Map map){
        this.delete("com.hex.ds.hdrs.period.task.dao.PeriodTaskStreamHisDao.deleteByBitchId",map);
    }

}
